package com.lch.designpattern.strategy.promotion;

/**
 * @author: liuchenhui
 * @create: 2019-06-23 10:27
 **/
public class PromotionActivity {

    private PromotionStrategy promotionStrategy;

    public PromotionActivity(PromotionStrategy promotionStrategy) {
        this.promotionStrategy = promotionStrategy;
    }

    public void execute() {
        promotionStrategy.doPromotion();
    }
}
